package com.ruoyi.project.cms.type.service;

import com.ruoyi.project.cms.type.domain.Type;
import com.ruoyi.project.cms.type.mapper.TypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TypeServiceImpl implements ITypeService{
    //声明mapper属性 调用数据库查询语句返回结果
    @Autowired
    private TypeMapper typeMapper;
    /**
     * 分页显示系统类型
     * @param type
     * @return
     */
    @Override
    public List<Type> selectTypeList(Type type) {
        List<Type> list=  typeMapper.selectTypeList(type);
        return list;

    }
}
